package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopCommodityImage;
import com.woniuxy.common.entity.ShopCommodityImageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopCommodityImageMapper {
    long countByExample(ShopCommodityImageExample example);

    int deleteByExample(ShopCommodityImageExample example);

    int deleteByPrimaryKey(String imgId);

    int insert(ShopCommodityImage record);

    int insertSelective(ShopCommodityImage record);

    List<ShopCommodityImage> selectByExample(ShopCommodityImageExample example);

    ShopCommodityImage selectByPrimaryKey(String imgId);

    int updateByExampleSelective(@Param("record") ShopCommodityImage record, @Param("example") ShopCommodityImageExample example);

    int updateByExample(@Param("record") ShopCommodityImage record, @Param("example") ShopCommodityImageExample example);

    int updateByPrimaryKeySelective(ShopCommodityImage record);

    int updateByPrimaryKey(ShopCommodityImage record);
}